﻿using System.ComponentModel.DataAnnotations;

namespace KinTN_WMS_CL.Model
{
    /// <summary>
    /// 订单类型
    /// </summary>
    public enum OrderType
    {
        /// <summary>
        /// 入库
        /// </summary>
        [Display(Name = "入库")]
        In = 0,
        /// <summary>
        /// 出库
        /// </summary>
        [Display(Name = "出库")]
        Out = 1,
        /// <summary>
        /// 退库
        /// </summary>
        [Display(Name = "退库")]
        TakeBack = 2
    }


    /// <summary>
    /// 订单状态
    /// </summary>
    public enum OrderStatus
    {
        /// <summary>
        /// 执行中
        /// </summary>
        [Display(Name = "执行中")]
        Execution = 0,
        /// <summary>
        /// 异常
        /// </summary>
        [Display(Name = "异常")]
        Error = 1,
        /// <summary>
        /// 暂停
        /// </summary>
        [Display(Name = "暂停")]
        Pause = 2,
        /// <summary>
        /// 成功
        /// </summary>
        [Display(Name = "成功")]
        Succeed = 3,
    }

    /// <summary>
    /// 任务类型
    /// </summary>
    public enum TaskType
    {
        /// <summary>
        /// 到位
        /// </summary>
        [Display(Name = "到位")]
        InPlace = 0,
        /// <summary>
        /// 订单
        /// </summary>
        [Display(Name = "订单")]
        Order = 1,
        /// <summary>
        /// 确认
        /// </summary>
        [Display(Name = "确认")]
        Verify = 2
    }


    public enum ButtonType
    {
        select,
        add,
        edit,
        delete,
        export,
        import
    }
}
